//
// Source code recreated from a .class file by IntelliJ IDEA
// (powered by Fernflower decompiler)
//

package com.study.dao;

import com.study.pojo.BookPoint;
import java.util.List;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

@Mapper
public interface BookPointDao {
    BookPoint queryById(Integer id);

    List<BookPoint> queryAllByLimit(@Param("offset") int offset, @Param("limit") int limit);

    List<BookPoint> queryAll(BookPoint bookPoint);

    int insert(BookPoint bookPoint);

    int update(BookPoint bookPoint);

    int deleteById(Integer id);

    BookPoint queryByCon(@Param("uid") Integer uid, @Param("bookId") Integer bookId);

    List<BookPoint> queryAllPoints(Integer bookId);
}
